

<%
String id=request.getParameter("additem");
String group="group";
String project="project";
String task="task";
String group_member="group_member";
String employee="employee";
String notice="notice";
%>
<% if(id.equalsIgnoreCase(group)){%>
<div id="right">
    <div class="maincol">
        
        <form action="insert_employee.jsp" method="get" name="add_employee" target="_blank">
            <table width="600px">
               
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Name</th>
                    <th width="100px"><input name="group_name" type="text" value="group name" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px"></th>
                    <th width="100px"><input type="submit" value="OK" /></th>
                </tr>           
            </table>  
        </form>          
    </div>
</div>


<%  }else if(id.equalsIgnoreCase(group_member)){%>
<div id="right">
    <div class="maincol">
        
        <form action="insert_group_member.jsp" method="get" name="add_employee" target="_blank">
            <table width="600px">
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Group name</th>
                    <th width="100px"><input name="group_name" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Employee name</th>
                    <th width="100px"><input name="member_name" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px"></th>
                    <th width="100px"><input type="submit" value="OK" /></th>
                </tr>           
            </table>  
        </form>          
    </div>
</div>
<%  }else if(id.equalsIgnoreCase(notice)){%>
<div id="right">
    <div class="maincol">
        
        <form action="insert_notice.jsp" method="get" name="add_project" target="_blank">
            <table width="600px">
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Employee name</th>
                    <th width="100px"><input name="employee_name" type="text" value="employee name" size="5" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Notice</th>
                    <th width="100px"><textarea name="notice" rows="5"></textarea></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px"></th>
                    <th width="100px"><input type="submit" value="OK" /></th>
                </tr>           
            </table>  
        </form>          
    </div>
</div>
<%  }else if(id.equalsIgnoreCase(project)){%>
<div id="right">
    <div class="maincol">
        
        <form action="insert_project.jsp" method="get" name="add_project" target="_blank">
            <table width="600px">
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Project ID</th>
                    <th width="100px"><input name="project_id" type="text" value="" size="15" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Name</th>
                    <th width="100px"><input name="project_name" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Client</th>
                    <th width="100px"><input name="client_name" type="text" value="" size="50" maxlength="25" /></th>
                </tr>            
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Start Date</th>
                    <th width="100px"><input name="start_date" type="text" value="" size="50" maxlength="25" /></th>
                </tr>            
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">End Date</th>
                    <th width="100px"><input name="end_date" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Priority</th>
                    <th width="100px"><input name="priority" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Type</th>
                    <th width="100px"><input name="type" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Completed</th>
                    <th width="100px"><input name="completed" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px"></th>
                    <th width="100px"><input type="submit" value="OK" /></th>
                </tr>           
            </table>  
        </form>          
    </div>
</div>
<%  }else if(id.equalsIgnoreCase(task)){%>
<div id="right">
    <div class="maincol">
        
        <form action="insert_task.jsp" method="get" name="add_task" target="_blank">
            <table width="600px">
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Task ID</th>
                    <th width="100px"><input name="task_id" type="text" value="" size="15" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Task Name</th>
                    <th width="100px"><input name="task_name" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Project_id</th>
                    <th width="100px"><input name="project_id" type="text" value="" size="50" maxlength="25" /></th>
                </tr>            
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Status</th>
                    <th width="100px"><input name="status" type="text" value="" size="50" maxlength="25" /></th>
                </tr>            
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">type</th>
                    <th width="100px"><input name="type" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Start Date</th>
                    <th width="100px"><input name="s_date" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Estimated Date</th>
                    <th width="100px"><input name="e_date" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
               <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Summary</th>
                    <th width="100px"><input name="summary" type="text" value="" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px"></th>
                    <th width="100px"><input type="submit" value="OK" /></th>
                </tr>           
            </table>  
        </form>          
    </div>
</div>

<%  }else if(id.equalsIgnoreCase(employee)){%>
<div id="right">
    <div class="maincol">
        
        <form action="insert_employee.jsp" method="get" name="add_employee" target="_blank">
            <table width="600px">
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">employee ID</th>
                    <th width="100px"><input name="employee_id" type="text" value="employee ID" size="5" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Name</th>
                    <th width="100px"><input name="employee_name" type="text" value="employee name" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">phone</th>
                    <th width="100px"><input name="phone" type="text" value="phone" size="50" maxlength="25" /></th>
                </tr>            
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Qualification</th>
                    <th width="100px"><input name="qualification" type="text" value="qualification" size="50" maxlength="25" /></th>
                </tr>            
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Gender</th>
                    <th width="100px"><input name="gender" type="text" value="gender" size="50" maxlength="25" /></th>
                </tr>
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px">Notice</th>
                    <th width="100px"><input name="notice" type="text" value="notice" size="50" maxlength="25" /></th>
                </tr>
                
                <tr bgcolor="#EEEEEE" align="center" height="20px">
                    <th width="100px"></th>
                    <th width="100px"><input type="submit" value="OK" /></th>
                </tr>           
            </table>  
        </form>          
    </div>
</div>



<%  }else{%>
<%} %>
